/**
* @filename:SysLog 2023-10-22 00:33:19
* @project xxx系统  1.0
* Copyright(c) 2020 fangdy Co. Ltd.
* All right reserved.
*/
package org.fdy.bgadmin.entity;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
* @Description:(sys_log实体类)
*
* @version: 1.0
* @author: fangdy
*
*/
@Data
@TableName("sys_log")
public class SysLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(name = "id" , value = "ID")
    private Long id;

    @ApiModelProperty(name = "description" , value = "")
    private String description;

    @ApiModelProperty(name = "logType" , value = "")
    private String logType;

    @ApiModelProperty(name = "method" , value = "")
    private String method;

    @ApiModelProperty(name = "params" , value = "")
    private String params;

    @ApiModelProperty(name = "requestIp" , value = "")
    private String requestIp;

    @ApiModelProperty(name = "time" , value = "")
    private Long time;

    @ApiModelProperty(name = "username" , value = "")
    private String username;

    @ApiModelProperty(name = "address" , value = "")
    private String address;

    @ApiModelProperty(name = "browser" , value = "")
    private String browser;

    @ApiModelProperty(name = "exceptionDetail" , value = "")
    private String exceptionDetail;

    @ApiModelProperty(name = "createTime" , value = "")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createTime;

}
